package com.book.model;

import java.util.List;

import com.book.entity.BookChapter;
import com.book.entity.BookInfo;

import lombok.Data;

@Data
public class BookInfoModel {

	
		BookInfo book;
		List<BookChapter> chapterlist;
		public BookInfoModel(BookInfo book, List<BookChapter> chapterlist) {
			super();
			this.book = book;
			this.chapterlist = chapterlist;
		}
		public BookInfoModel() {
			super();
		}
		
}
